Gridimus MaximusGridimus Maximus draws N grid lines stepping by price or percent in chosen direction from set price, or draws N grid lines stepping by pivots.
The queue function method used is adapted from an example provided on the PineCoders website, much gratitude to LucF for this gem!
To prevent grid lines out of range from causing chart to rescale right click on chart's price column and enable Scale Price Chart Only.
Pictured example above is using Type Of Increment: Steps By Pivot, Number Of Steps: 5.
Pictured example below is using Type Of Increment: Steps By Price, Number Of Steps: 6, Starts From Price: $10k, Steps By Percent Or Price: $10k.
Pictured example below is using Type Of Increment: Steps By Percent, Number Of Steps: 7, Starts From Price: $10k, Steps By Percent Or Price: 33%.
NOTICE: This is an example script and not meant to be used as an actual strategy. By using this script or any portion thereof, you acknowledge that you have read and understood that this is for research purposes only and I am not responsible for any financial losses you may incur by using this script!
[i]price
MultiPrice AlertThis is an alert script using Pinescript version 4. This enables one to set 5 alerts (1 StopLoss, 4 Targets), on 3 different symbols, at using a single alert in the UI.
Every visible line will only appear on the symbols that are selected. After setting targets when making an alert, select this indicator as a condition. Change the name to whatever you want, usually the names of the set of tickers.
The Alert message is dyanmic showing which Symbol with each type of alert, at whatever price.
Ability to disable the targets + symbols.
Alerts work by Stop Loss crossing under price and Targets Cross Over. Enabling the "Short" Targets reverses this.
The line that is being displayed is actually the price of the asset being moved over x number of bars. I have not found a way to plot a traditional horizontal line, as the code for it uses a fixed price.
As it being a user input, it is a variable. Any help with this would be appreicated.
Alerts are set to once per bar.
Known bug that sometimes if the prices that you set are inside the current candle stick, then your alert will immeaditally fire, either change the timeframe or let it fire and wait fo
After a target is hit, I reccomend setting the alert to 0 and REMAKING the alert. You MUST REMAKE THE ALERT AFTER ANY CHANGES. This script WILL NOT CHANGE ALERTS AS YOU CHANGE SETTINGS.
TradingView Alerts are not this smart , at least I haven't found a way to do this yet.
Moving Average Buy/Sell IndicatorUsing a selected Exponential Moving Average (EMA)/Simple Moving Average (SMA) range, this indicator inserts a Long/Short (buy/sell) indicator overlaid on chart depending on the following conditions:
- LONG/BUY SIGNAL = if SMA value is less than EMA, and both the SMA and EMA are less than the current average price.
- SHORT/SELL SIGNAL = if SMA value is greater than EMA, and both the SMA and EMA are greater than the current average price.
**Intended for use with the 21 and 34 weekly moving average time range. Much more useful for long-term analysis rather than short-term analysis.**
Best Bulls Bears Volume trend Breakout V2 [badshah_e_alam]This is a intraday indicator. Only to be used on timeframe less than daily charts.
This indicator purely uses volume to plot the graph. The indicator helps in conforming a breakout strategy.
This indicator is advanced version of my previously developed indicator you can check this link
Total volume is made up of buying volume and selling volume . Buying volume is the number of shares, contracts, or lots that were associated with green bars, and selling volume is the number that were associated with red bars.
The labels on the right side are the current bar value and that days bulls /bears weightage.
the first value shows the current bar volume.
second value show the bulls weight in %
third value show the bears weightage throughout the day ( %)
The Blue plot in graph keeps the track of bulls movement in intraday( %)
The Red plot in graph keeps the track of bears movement in intraday ( %)
X axis is time.
Y axis ranges from 100 to -100
I use 1:2 risk to reward ratio. Do your own research.
**not a financial advice**
Example of price increasing, volume decreasing
this indicator can be used for confirming a breakout strategy with bulls or bears in action. In the current example, the buyer’s volume percentage is reducing and the price is increasing throughout the day. Hence a breakout of the trendline is confirmation of a short trade.
Example of Price reducing, volume decreasing
example of price moving down , bears losing the grip
Example of price decreasing volume increasing
Thanks to nizar9599 for giving idea to improve my previous indicator.
DISCLAIMER
Any and all liability for risks resulting from investment transactions or other asset dispositions carried out by the user based on information received or a market analysis is expressly excluded by me.
All the information made available here is generally provided to serve as an example only, without obligation and without specific recommendations for action. It does not constitute and cannot replace investment advice. We therefore recommend that you contact your personal financial advisor before carrying out specific transactions and investments.
Do your own research, This is not a financial advice.
Bullish Volume [Alerts]A really simple script I made for someone, but also noticed I couldn't find anything like it that's as quick or simple (I may just be dumb)
Simply labels out and alerts you when three consequently higher volume bars appear, pretty useless on its own but for crypto, it works great to quickly notice if some important fundamentals suddenly cause the price to rocket. It works best with hour timeframes. Personally I'd use it with 4h.
I find it useful to know if something in a market is stirring attention and hope others can find it useful.
TFi Price Action Resampling Filter V1The script is resampling the price based on its range/price-action and creates an alternative filter to smoothen price movements.
Overview of features:
Optional stop-loss
Optional flags to control the position entry
Optional flags to control the position exit
Built-in backtesting engine with start balance, position size and pyramiding
Inputs for a percentage entry and exit slippage, entry/exit and daily funding fees
Configurable alerts, which follow the exact position of the entry/exit marker
Alert messages contain predefined trading instruction to execute orders via Alertatron or TradeFab's proprietary trading server
The script renders a status box at the last bar, which shows the current position status and result of the built-in trading simulation results.
It shows the following statistic values:
Current position PnL - also background turns green if position is in profit and red if in loss
Average entry price and number of positions
Current percentage distance to the optional stop-loss level
Current Maximum Draw Down
Overall number of wins and losses and the win/loss ratio
Overall profit and loss amount, paid fees
Overall profit-ratio and Maximum Draw Down
Overall balance and ROI
Volume using Candle RangeAnother way of finding out a rough estimate of the volume or how much bulls or bears were in control using only the range of the candlesticks in relation to the closing price. If the close is in the higher range zone then the volume is said to have been positive, if the close is in the lower range zone then the volume is said to have been negative. The close is compared to the midpoint of the candle to see how far from the midpoint the close was.
The columns bars show how far each candlestick's close price is to the midpoint of its high and low. It's possible for the column bar to be a different color than the candlestick itself if the close was above or below the midpoint. An average line is shown that takes the average of a given length amount of column bars. There is an option to show the absolute value only of the columns and the average line.
This is based on an idea I found about candlestick range bars implying volume. This is an attempt to put that theory into practice and to see if there's any truth to it. It's not exactly volume and may not always look like it, and it does not show how many trades took place but instead tries to use price in relation to the high and low range.
Price-Drive MTF Instagram LuckyNickVAFor Showing The Price Drive & The Direction Of Price & You Can Adjust It To Specific Timeframes.
Price Trend MeterYet another sweet little indicator which measures price pressure over specific period of time. I call it Price Trend Meter (PTM),
It's basically similar to the indicator 'Volume Trend Meter' (VTM) but this time the calculations are based on price rather than volume.
The indicator sums up all the prices of the green candles and red candles over a specific period of time (source and bars back can be adjusted in indicator settings).
======= Calculation ==========
For Green Column: Total price of green candles is higher than total red candles price for a specific bars back.
For Red Column: Total price of red candles is higher than the total green candles price for a specific bars back.
======= Price Trend Meter Colors =======
Green: Increasing buying pressure.
Red: Increasing selling pressure.
For the Volume Trend Meter indicator go here : https:www.tradingview.com/script/ywEEvEtI-Volume-Trend-Meter/
Stay tuned and Follow as a combination indicator of the two indicators (VTM + PTM) will be coming up next: https:www.tradingview.com/u/dman103/#published-scripts
Like if you like and Enjoy.
Ants - Momentum, Volume and Price (MVP)The Ants indicator is based on the research of David Ryan, three-time winner of the U.S. Investing Championship. David came up with the idea for the indicator while managing the New USA Growth Fund at William O’Neil + Company. David was interested to understand what drove some stocks higher once they were extended from their most recent base, while others had only moderate moves up.
What David found during his research was that stocks making the biggest moves often had consistent buying on volume over a period of 12 to 15 trading days. Stocks with these characteristics may be under institutional accumulation, where it may take days to weeks to fill a position.
— Momentum, Volume And Price (MVP) —
The Ants indicator looks for the following:
■ Momentum - The stock is up at least 12 of the past 15 days.
■ Volume - The volume has increased over the past 15 days by 20% to 25%.
■ Price - The price is up at least 20% over the past 15 days.
— Why Is The Indicator Called Ants? —
The "Ants" reference comes from the original implementation at William O'Neil where small black marks were placed above price bars when the MVP criteria were met.
— Ant Colors —
When the indicator was created at William O'Neil, Ants were shown only when all three MVP requirements had been met. You may find it helpful to see Ants when momentum and volume or momentum and price are detected. With that in mind, the Ants indicator supports the following:
■ Gray Ants - Momentum requirement met.
■ Blue Ants - Momentum and price requirements met.
■ Yellow Ants - Momentum and volume requirements met.
■ Green Ants - Momentum, volume and price requirements met.
— What Does It Mean If More Than 15 Ants Are Shown? —
It is possible that two or more consecutive series of Ants overlap. For example, you may have one series of 15 bars that meet all the MVP requirements. Somewhere within that series, another run of 15 bars may begin that also meets the MVP requirements. In situations such as this, once each run of 15 Ants is displayed, the total number of consecutive Ants shown will be greater than 15.
— Acknowledgement —
Many thanks to David Ryan for his time to clarify the details of the MVP requirements and providing feedback and suggestions during the development of the Ants indicator.
Price Extension - ln(close/20 sma)A simple script to visualize price extension. Useful to gauge tops/oversold areas. Most useful when used on weekly tf.
AB FTMO Price Difference IndicatorI know, it was a hassle, calculating each SL and TP values on your MT4 or MT5, after you decide to enter a trade on FTMO (or any other broker really).
Especially if your broker values are way off from your TradingView chart.
Here's a dynamic dashboard that shows you your entry, stop loss and your take profit values for your trading platform.
Just enter the current price difference in pips and your SL/TP values on the settings page, then let your dashboard do the rest.
It shows you the values based on the last closed candle.
Enjoy.
First Week Trend [MX]I created this indicator based on one of my ways of analyzing the BTC trend in particular, I noticed that the break of the first weekly candle usually indicates the trend for the rest of the month.
This indicator has a bug in which if you change the timeframe of the indicator it will show erroneous values
If you use the candlestick chart, you will need to pull the visual order of this indicator to the top to overlay the colors of the standard candles, or simply hide the standard candles
the trend colors are bugged in timeframes other than the weekly
special thanks to @xdecow who helped me with the code
////////////////////////////////////////////////////////////////////////
Eu criei esse indicador baseado em uma das minhas formas de analisar a tendência do BTC em específico, eu notei que o rompimento do primeiro candle do semanal costuma indicar a tendência para o resto do mês.
Esse script tem um bug em que se mudar o timeframe do indicador ele irá mostrar valores errados
Se você usa o gráfico de candlesticks, você precisará puxar para o topo a ordem visual desse indicador para sobrepor as cores do candles padrões, ou simplesmente ocultar os candles padrões
as cores da tendencia estão bugados em outros timeframes diferentes do semanal
agradecimentos especiais ao @xdecow que me ajudou no código
ema +I want to start making a consistent style that is recognizably mine. Minimal, colorful, and only the information you need.
This is my ema + indicator. It has 3 emas and a price line that are super smoothed giving it a modern and clean feeling. You can also turn on the price low and high to view that as a line as well. You will need to turn off the bar colors in the chart settings to remove the default bars and leave only the indicator.
Shares Risk (Long)Ever struggle to know how many shares you should be placing your order with? Risk is different for every person and every stock. This can help.
In the example above, I've added this indicator the the chart.
I then specified:
Risk Amount ($) = $500. (The max amount I'm willing to risk.)
Risk Source = (another indicator) Lower Limit 3 . (See Lower Limits for more details)
Source Risk (%) = 0.0 (The default is 5.0 expecting the Risk Source to be the close.**)
Based upon how much I'm willing to risk, and the price difference between the close and Risk Source , this indicator will show the number of shares to purchase such that if the price drops to the stop level specified, my value loss should be limited to the Risk Amount .
333 shares is the value calculated for this example (latest bar). You can easily see how many shares you need to purchase for the lastest bar as well as track the previous values on the chart and the indicator cursor data.
---
** WARNING: There's no magic here. It's just math. So if you specify another indicator as the source, the values could get a bit strange and if the price is very close to the stop level, the number of shares could be unreasonably high. To help avoid this you can increase the minimum percent.
Random Synthetic Asset GenerationThis script generates pseudo-random asset data . Due to the nature of the random generator, it is impossible to use this indicator as input for other indicators because the instance of the script that the indicator is applied to will automatically be different from the instance that is plotted on the chart. Therefore, the idea is to use this script in other scripts (to make it possible to backtest on random data, for example).
The script has four main input parameters.
Random Number Generator Method: It supports two methods for generating the pseudo-random numbers (one by Ricardo Santos and one by Wichmann-Hill).
Seed: You can specify the seed to use. Each unique seed will generate a unique set of pseudo-random data.
Intrabar Volatility: This basically sets how volatile the generated wicks will be (0 = no wicks).
Price Multiplier: This is just a multiplier for the generated price data, so that you can scale up or down the generated price data.
You can also change the colors of the bars.
In addition to this, the indicator also generates random volume. In order to make it possible to show both volume and price, you need to have two identical instances of the indicator. One on the chart, and one in its own panel. Then, go into the Style tab in the indicator settings on the instance in the panel. Untick Up-Candles and Down-Candles boxes, and tick the Volume box.
In a similar manner, you can also plot the true range data and the candle change data as well, by ticking one of those boxes instead.
Viper Futures Range Bar CandlesThe Range Bars used in more Professional trading platforms to keep smoothness on the charts and help make custom range price candles based on the range size chosen for the market being traded. Example an 8 Range bar on the ES or MES Futures is 8 ticks = 2 points. Another Example on NQ a 22 Range bar popularly traded by trading professionals is a total of 22 ticks = 5 1/2 points on the Nasdaq or Micro NQ futures. Simple add to charge, set the range bar setting with a particular range setting in mind and then for clarity uncheck the original price chart on top left corner, same way you would disable an indicator temporarily. Works very clear and nice. A good accommodation for trading View as trading view does not offer historical tick data to use Renko bars very well at the moment.
Basically plots a candle rather then a OHLC bar for Range Bars on TV!
Default color was set to my Viper Futures Chart, you can change back to green/red, etc.
Enjoy!
Distance from the ATH priceThis indicator shows us the distance (in %) between the current price and the ATH price.
The closer the price is to the ATH the higher the percentage.
100% means we reached the ATH price.
HOW TO USE:
No special input necessary.
Markets:
It can be used to all markets.
NOTE:
Some Exchanges don't go very far back in the past and for this reason this may have impact on this Indicator.
Stock Value Display//This study is designed to plot estimates for a stock's value:
//1) the Price to earnings ratio (PE) value based on the trailing twelve months of data
//2) the PE value based future data
//3) the Benjamin Graham value based trailing data
//4) the Dividend Discount value based on trailing data
You can adjust the period of data used to calculate the value between Fiscal Quarter "FQ" and Fiscal Year "FY."
The values displayed on the chart are subject to the financial information provided to TradingView. This is intended to be used as a quick reference and should be viewed in context with other analysis prior to making any transaction decisions.
As always, happy trading!
NimhFX Grid LevelsA simple levels indicator for plotting pre-defined price grid.
The default setting is as follows:
Group 1 shows 1000 Point (100 Pip divisions)
Group 2 shows 250 Point (25 Pip divisions)
Groups are duplications of each other to allow multiple divisions to be visible at once, e.g. 100 Pip grid and a 25 pip grid with differing visuals as the default setting.
Number of Lines above/below will alter the amount of lines drawn, change as required, note: Tradingview seems to try to capture all drawings when double-clicking the right price index which can cause this to compress the data.
depending on preferred timeframe you may want to alter this for example to a 10 pip grid (100 point)